home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / CALib & You… / Source / CASample / CASample.pch < prev    next >
Encoding:
Text File  |  1995-12-07  |  1.2 KB  |  54 lines  |  [TEXT/MPS ]

  1. #ifdef __cplusplus
  2.  #ifdef powerc
  3.   #pragma precompile_target "CASample.PPC++.h.pack"
  4.  #else
  5.   #pragma precompile_target "CASample.68K++.h.pack"
  6.  #endif
  7. #else
  8.  #ifdef powerc
  9.   #pragma precompile_target "CASample.PPC.h.pack"
  10.  #else
  11.   #pragma precompile_target "CASample.68K.h.pack"
  12.  #endif
  13. #endif
  14.  
  15.  
  16. //----------------------------------------------------------------------
  17. // comment this line out for non-CALib build
  18. #define USE_CALIB
  19.  
  20. //----------------------------------------------------------------------
  21. //     Sometimes debug strings are a good idea, sometimes they are not.
  22.  
  23. #ifndef Debugging
  24. #define Debugging    1            /* 1 = debug strings on, 0 = debug strings off */
  25. #endif
  26.  
  27. //#define TRACE            0            
  28. //#define TRACEEVENTS    0
  29.  
  30. #if Debugging
  31.     #define DEBUGSTR(a) DebugStr(a)
  32. #else
  33.     #define DEBUGSTR(a) SysBeep(3)
  34. #endif
  35.  
  36. //----------------------------------------------------------------------
  37. #include <MacHeaders.c>
  38.  
  39.  
  40. #ifdef USE_CALIB
  41. #include "CALib.h"
  42. #endif
  43.  
  44. #include "CAS_Doc.h"
  45. #include "CAS_Win.h"
  46. #include "CAS_Event.h"
  47. #include "CAS_Dialog.h"
  48. #include "CAS_AppleEvent.h"
  49. #include "CAS_Drag.h"
  50. #include "CAS_ToolPalette.h"
  51. #include "CAS_Menu.h"
  52. #include "CAS_MenuItems.h"
  53. #include "CAS_HelpBalloon.h"
  54.